package action;

import processing.core.PApplet;
import processing.core.PVector;
import run.Doodler;
import run.LineCell;

public class RectDecorateAction implements Action {

	boolean used = false;
	public void doAction(LineCell lineCell, Float scale) {
		PApplet p = Doodler.instance;
		PVector loc = lineCell.loc;
		
//		p.noStroke();
//		p.fill(lineCell.r, lineCell.g, lineCell.b, 1);
//		p.rect(loc.x, loc.y, 3, 200);
		
		lineCell.destroy();
		
		used = true;
	}

	public boolean isActive() {
		// TODO Auto-generated method stub
		return ! used;
	}

}
